Respiratory monitoring and polysomnography